#ifndef __GUI_XML_Cursor_Handler__
#define __GUI_XML_Cursor_Handler__

#include "XML/GUIXMLHandler.h"
#include "GUIString.h"
#include <vector>
#include <map>

namespace YGUI
{
    class CursorXMLHandler : public XMLHandler
    {
    public:
        CursorXMLHandler(void);
        ~CursorXMLHandler(void);

    public:
        unsigned long elementStart(const XMLAttribute& attri);
        void elementEnd(const XMLAttribute& attri);

    private:
        unsigned long cursorElementStart(const XMLAttribute& attri);

    private:
        static const String CursorElement;
        static const String NameAttribute;
        static const String TypeAttribute;
        static const String ValueAttribute;

        static const String ImageType;
        static const String AnimationType;
    };
}

#endif